import service from "../index"

export function getPlayerList(){
    return service({
        url: "/manage/v1/admin/find/list/player",
        method: 'post',
        
    })
}

export function getRefereeList(){
    return service({
        url: "/manage/v1/admin/find/list/referee",
        method: 'post',
        
    })
}

export function addMatch(data){
    return service({
        url: "/manage/v1/admin/add/match",
        method: 'post',
        data,
    })
}

export function getTablePage(data){
    return service({
        url: "/manage/v1/admin/find/page/match",
        method: 'post',
        data,
    })
}
export function editMatch(data){
    return service({
        url: "/manage/v1/admin/edit/match",
        method: 'post',
        data,
    })
}


export function editMatchResult(data){
    return service({
        url: "/manage/v1/admin/edit/match/score",
        method: 'post',
        data,
    })
}

export function editMatchUsers(data){
    return service({
        url: "/manage/v1/admin/edit/match/audienceNumber",
        method: 'post',
        data,
    })
}




